package com.gpscookie.test.android;

import com.gpscookie.android.widget.ImageButtonWithLabel;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        ImageButtonWithLabel btnSplash = (ImageButtonWithLabel)findViewById(R.id.btnSplash);
        btnSplash.setOnClickListener(new OnClickListener() {
			public void onClick(View arg0) {
				Intent intent = new Intent(MainActivity.this, SplashScreen.class);
	            startActivity(intent);	            
			}});
    }
}